package com.example.demo111111.dao;


import com.example.demo111111.entity.Merchant;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface MerchantDao {


    Boolean save(Merchant merchant);

    Boolean update(Merchant merchant);


    Page<Merchant> pageQuery(Merchant merchant);

    @Delete("delete  from merchant where id=#{id}")
    Boolean deleteById(Long id);
}
